<style lang="scss">
@import "uview-ui/index.scss";
</style>

<script>
export default {
  onLaunch: function () {
    console.log("App Launch");
  },
  onShow: function () {
    console.log("App Show");
    // 中间按钮
    uni.onTabBarMidButtonTap(() => {
      uni.navigateTo({
        url: "/pages/abb/create",
      });
    });
  },
  onHide: function () {
    console.log("App Hide");
  },
};
</script>

<style lang="scss">
@import url("/static/iconfont/iconfont.css");
@import url("@/static/weui.min.css");
uni-modal {
  z-index: 999999 !important;
}

page {
  background-color: #f1f3f8;
  margin: 0 auto;
}
.uloadmore {
  margin: 30rpx 0;
}
.container {
  width: 690rpx;
  margin: 0 auto !important;
}
.container2 {
  width: 700rpx;
  margin: 0 auto !important;
}
.luck-container {
  width: 700rpx;
  margin: 0 auto !important;
}

.none {
  display: none !important;
}
.iconfont {
  display: inline-block;
}
.u_icon {
  display: inline-block !important;
}
.color {
  color: #1a86ff;
}
.text-danger {
  color: #ff0000;
}
.price_color {
  color: #ff0000;
}

/* 按钮 satrt */
button {
  padding: 0 !important;
}
.luckbtn {
  width: 100%;
  border-radius: 3px;
  text-align: center;
  display: block;
  padding: 16rpx 0;
}
.luckbtn-default {
  background-color: #1a86ff;
  color: #fff;
}
.luckbtn-payment {
  background-color: #d8b66c;
  color: #fff;
}
.luckbtn-weixin {
  background-color: #1aad19;
  color: #fff;
}
.luckbtn-secondary {
  background-color: #6c757d;
  color: #fff;
  width: 100%;
  border-radius: 3px;
  text-align: center;
  display: block;
  padding: 16rpx 0;
}
.luckbtn-danger {
  background-color: #ff0000;
  color: #fff;
}
/* 按钮 end */

/* 公共板块 常规 start */
.luckbox {
  background-color: #fff;
  margin: 0 auto;
  padding: 30rpx 30rpx 30rpx 30rpx !important;
  border-radius: 3px;
  overflow: hidden;
}
.luckbox .top {
  padding-bottom: 30rpx;
}
.luckbox .top .title {
  font-weight: 600;
  letter-spacing: 2px;
  position: relative;
  padding-left: 26rpx;
  color: #666;
  font-size: 24rpx;
}
.luckbox .top .title::before {
  position: absolute;
  top: 8rpx;
  left: 0;
  width: 10rpx;
  height: 20rpx;
  border-radius: 32rpx;
  background: #00b38a;
  content: "";
}
.luckbox .top .more {
  float: right;
  color: #999;
  font-size: 24rpx;
  padding-top: 5px;
}
.luckbox .bd {
}
/* 公共板块 常规 end */

/* form start */
.luckform .weui-cell::before {
  right: 16px;
}
.weui-cell_select {
  padding: 32rpx !important;
}
.luckform .items {
  background-color: #fff;
  overflow: hidden;
  font-size: 28rpx;
  border-radius: 3px;
}
.luckform .items .top {
  padding: 32rpx;
}
.luckform .items .top .title {
  font-weight: 400;
}
.luckform .items .icon_question {
  margin-left: 3px;
}
.luckform .items .span_required {
  color: #ff0000;
  margin-left: 3px;
}
.luckform .items .span_remark {
  color: #999;
  margin-left: 3px;
  font-size: 24rpx;
}
.luckform .custom_checkbox .box {
  width: 100%;
  margin-bottom: -10rpx;
  overflow: hidden;
}
.luckform .custom_checkbox .box span {
  background-color: #eee;
  margin-right: 2%;
  float: left;
  margin-bottom: 10px;
  font-size: 28rpx;
  text-align: center;
  padding: 8px 12px;
  border-radius: 3px;
}
.luckform .custom_checkbox .box span.on {
  background-color: #2b9bfd;
  color: #fff;
}
.luckform .radio-group {
  margin-left: -10px;
  margin-bottom: -10px;
}
.luckform .radio-group .radio {
  margin-left: 10px;
  margin-bottom: 10px;
  display: inline-block;
}
.luckform .remind {
  display: flex;
  font-size: 24rpx;
  padding-left: 2px;
  color: #666;
}
.luckform .remind .txt {
  margin-left: 2px;
  padding-top: 2px;
}
.luckform .remind .link {
  color: #00b38a;
}

.luck-form2 .inputbox {
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 15px;
}
.luck-form2 .luck-vcode .weui-input {
  flex: 1;
}
.luck-form2 .luck-vcode .lbtn {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 6px;
  color: #06ae56;
  background-color: #f2f2f2;
}
/* form end */

/* payment start */
.payment {
}
.payment .item {
  width: 100%;
  height: 120rpx;
  line-height: 120rpx;
  overflow: hidden;
  border-bottom: 1px solid #f5f5f5;
  font-size: 28rpx;
}
.payment .item .left {
  float: left;
}
.payment .item .icon {
  width: 54rpx;
  height: 54rpx;
  vertical-align: middle;
}
.payment .item .txt {
  margin-left: 5px;
}
.payment .item i {
  float: right;
}
.payment .item i:before {
}
.payment .item.on i:before {
  color: #f4645f;
  content: "\e731";
}
.payment_foot {
  margin-top: 30rpx;
}
.payment_foot .description {
  color: #666;
  font-size: 0.875rem;
  margin-bottom: 30rpx;
}
.payment_foot .description .price_color {
  font-size: 40rpx;
  margin-right: 3px;
}
.payment_foot .pay_qrcode .msg {
  width: 150px;
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 3px;
}
.payment_foot .pay_qrcode .image {
  border: 1px solid #eee;
  width: 150px;
  height: 150px;
  line-height: 150px;
  text-align: center;
  margin-bottom: 5px;
  overflow: hidden;
}
.payment_foot .pay_qrcode .image img {
  max-width: 100%;
  max-height: 100%;
}
/* payment end */

/* top search start */
.top_search {
  width: 100%;
  background-color: #fff;
  position: fixed;
  left: 0;
  z-index: 999;
}
.top_search_blank {
  height: 51px;
}
.top_search_box {
  background-color: #f7f8fa;
  color: #666;
  height: 35px;
  line-height: 35px;
  margin: 8px 0;
  border-radius: 3px;
  padding: 0 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.top_search_box .icon {
  margin-right: 6px;
}
.top_search_box .input {
  flex: 1;
}
/* top search end */

.float_create {
  position: fixed;
  right: 40rpx;
  bottom: 160rpx;
  opacity: 0.8;
}
.float_create .btn {
  border: 1px solid #61e7ce;
  background-color: #61e7ce;
  border-radius: 50%;
  font-size: 54rpx;
  width: 70rpx;
  height: 70rpx;
  line-height: 70rpx;
  text-align: center;
  color: #fff;
  padding: 20rpx;
}
::v-deep.uni-tabbar {
  .uni-tabbar__item {
    .uni-tabbar__mid {
      margin-bottom: 15px !important;
    }
    // background-color: red !important;
  }
  // margin-bottom: 10px;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.space {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.space-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
</style>
